$OpenBSD: patch-lib_sqlite3_stubs_c,v 1.1 2012/08/18 21:57:24 avsm Exp $
--- lib/sqlite3_stubs.c.orig	Sat Aug  4 09:27:17 2012
+++ lib/sqlite3_stubs.c	Sat Aug  4 09:27:23 2012
@@ -40,7 +40,7 @@
 
 #if __GNUC__ >= 3
 # define inline inline __attribute__ ((always_inline))
-# if !defined(__FreeBSD__) && !__APPLE__
+# if !defined(__unused)
 # define __unused __attribute__ ((unused))
 # endif
 #else
